package com.example.speech_recognition;

import android.app.Application;
import android.content.Context;

import com.iflytek.cloud.SpeechConstant;
import com.iflytek.cloud.SpeechUtility;
import com.vondear.rxtools.RxTool;

/**
 * Created by 逝 on 2017/10/19.
 */

public class App extends Application {
    private static Context context;

    @Override
    public void onCreate() {
        super.onCreate();
        context = getApplicationContext();
        SpeechUtility.createUtility(context, SpeechConstant.APPID + "=59e80f31");
        RxTool.init(this);
    }
}
